#include <stdio.h>  //printf
#include "overlays.h"


void overlay2 (void) __attribute__((section(".overlay2")));

void
overlay2 (void)
{
	int i;

	puts("/ * Enter overlay2 function */\n\r");
	printf("gdata is %x\n\r", gdata1);
	printf("gdata is %x\n\r", gdata2);

	for (i = 0; i < _novlys; i++)
	{
		printf ("_ovly_table_tmpl[%d][MAPPED] = %d\n\r", i, _ovly_table_tmpl[i][MAPPED]);
	}
	return;
}
